const CtrlAltTab = imports.ui.ctrlAltTab;
const GnomeSession = imports.misc.gnomeSession;
const GrabHelper = imports.ui.grabHelper;
+const Lightbox = imports.ui.lightbox;
const Main = imports.ui.main;
const PopupMenu = imports.ui.popupMenu;
const Params = imports.misc.params;
this._inFullscreen = false;
this._desktopClone = null;
+ this._lightbox = new Lightbox.Lightbox(global.window_group,
+ { inhibitEvents: true,
+ fadeInTime: ANIMATION_TIME,
+ fadeOutTime: ANIMATION_TIME
+ });
+
this._corner = new Clutter.Rectangle({ width: 1,
height: 1,
opacity: 0,
this._desktopClone.y = 0;
this._desktopClone.show();
+ this._lightbox.show();
+
Tweener.addTween(this._desktopClone,
{ y: this._desktopClone.y - this.actor.height,
time: ANIMATION_TIME,
geometry.height + progress);
})
});
+
+ this._lightbox.hide();
},
_onIdleMonitorWatch: function(monitor, id, userBecameIdle) {